package com.fuluwa.domain.usercenter.model.competence;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

import com.fuluwa.domain.usercenter.model.UserProfile.UserType;

//Top define,like honor,generic certification
@Entity
public class MaterialDefine extends AbstractDefine {
	@Enumerated(EnumType.STRING)
	private UserType type=UserType.NONE;
private MaterialDefine() {
}
	public MaterialDefine(String name, float value, UserType type) {
		super(name, value);
		this.type = type;
	}

	public UserType getType() {
		return type;
	}
	
	//CompetenceGeneralDefine parent;
	
}